package com.edais.dao;

import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import com.edais.persistence.SystemIdWorkerMapper;

@Repository

public class SystemIdWorkerDao {
	@Autowired
	private SystemIdWorkerMapper systemIdWorkerMapper;
	
	public Map<String, Object> getCurrentNo() throws Exception {
		Map<String, Object> parnMap=new HashMap<String,Object>();
		 systemIdWorkerMapper.getCurrentNo(parnMap);
		 return parnMap;
	}

	public Map<String, Object> getAutoLoanId()throws Exception {
		// TODO Auto-generated method stub
		Map<String, Object> parnMap=new HashMap<String,Object>();
		 systemIdWorkerMapper.getAutoLoanId(parnMap);
		 return parnMap;
	}
}
